package com.example.service;






import com.example.domain.pojo.Setmeal;
import com.example.domain.query.QueryPageBean;
import com.example.domain.result.PageResult;

import java.util.List;
import java.util.Map;

public interface SetMealService {

    //添加套餐
    public void add(Integer[] checkgroupIds, Setmeal setmeal);

    //分页查询数据
    public PageResult queryPage(QueryPageBean queryPageBean);


    List<Setmeal> findAll();

    Setmeal findById(Integer id);

    List<Setmeal> findMealName();

    List<Map> findMealHot();

    void deletesetMeal(Integer id);

    void editMeal(Setmeal setmeal);

    void editMealAndGroup(Integer id, Integer[] checkgroupIds);

    Integer[] findGroupIdByMealId(Integer setMealId);

    Setmeal findsetMealById(Integer setMealId);
}
